<%@taglib uri="/tags/struts-html" prefix="html"%>
<%@taglib uri="/tags/struts-bean" prefix="bean"%>
<%@taglib uri="/tags/struts-logic" prefix="logic"%>
<%@taglib uri="/tags/struts-layout" prefix="layout"%>
<script language="JavaScript" type="text/JavaScript"
	src="../cl/js/jquery-1.5.2.js"></script>
<script language="JavaScript" type="text/JavaScript"
	src="../cl/js/jquery-ui-1.8.11.custom.min.js"></script>
<style type="text/css" media="screen">
@import "../cl/css/body.css";
</style>

<style type="text/css" media="screen">
@import "../cl/css/jquery-ui-1.8.11.custom.css";
</style>
<script type="text/javascript" charset="utf-8">
$(function() {
	$( "#datepicker" ).datepicker();
});
</script>
<div id="stylized" class="myform"><html:form
	action="EmpleadoAction">
<label>Empresa</label>
<html:select property="codigoEmpresa">
		<html:option value="0">Seleccione</html:option>
		<html:optionsCollection name="EmpleadoForm" property="empresaList"
			label="nombreEmpresa" value="codigoEmpresa" />
	</html:select>
<br/><br/>	
<label>Sucursal</label>
	<html:select property="codigoSucursal">
		<html:option value="0">Seleccione</html:option>
		<html:optionsCollection name="EmpleadoForm" property="sucursalList"
			label="nombreSucursal" value="codigoSucursal" />
	</html:select>
	<br/><br/>	
<label>Ingreso:</label> 
<html:hidden name="fechaIngreso" property="fechaIngreso" value=""/>
<html:hidden name="a" property="a" value="Agregar"/>
<INPUT id="datepicker" onChange="document.getElementsByName('fechaIngreso')[0].value=this.value;">
	<br/><br/>	

<html:hidden name="parameter" property="a" value="save"></html:hidden>
	<html:submit value="Agregar" />
</html:form>
</div>




